package cn.breeze.user.mapper;

import cn.breeze.user.domain.User;
import cn.breeze.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author breeze
 * @since 2022-07-05
 */
public interface UserMapper extends BaseMapper<User> {

    User loadByPhone(@Param("username") String username);

    User loadByLogininfoId(Long logininfoId);
}
